public class StockHistory {
    private String stockCode;
    private String tradeDate;
    private String stockNm;
    private String closePrice;
    private String createdBy;
    private String createTime;
    private String updatedBy;
    private String updateTime;

    // 构造函数
    public StockHistory(String stockCode, String tradeDate, String stockNm, String closePrice, String createdBy, String createTime, String updatedBy, String updateTime) {
        this.stockCode = stockCode;
        this.tradeDate = tradeDate;
        this.stockNm = stockNm;
        this.closePrice = closePrice;
        this.createdBy = createdBy;
        this.createTime = createTime;
        this.updatedBy = updatedBy;
        this.updateTime = updateTime;
    }

    // Getter 和 Setter 方法
    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getTradeDate() {
        return tradeDate;
    }

    public void setTradeDate(String tradeDate) {
        this.tradeDate = tradeDate;
    }

    public String getStockNm() {
        return stockNm;
    }

    public void setStockNm(String stockNm) {
        this.stockNm = stockNm;
    }

    public String getClosePrice() {
        return closePrice;
    }

    public void setClosePrice(String closePrice) {
        this.closePrice = closePrice;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "StockHistory{" +
                "stockCode='" + stockCode + '\'' +
                ", tradeDate='" + tradeDate + '\'' +
                ", stockNm='" + stockNm + '\'' +
                ", closePrice='" + closePrice + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updatedBy='" + updatedBy + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}